package service.user;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.common.BaseMapper;
import com.common.BaseService;

import beans.user.recommendgold;
import beans.user.xh;
import mapper.user.orderMapper;
import mapper.user.recommendgoldMapper;
import mapper.user.withdrawcashMapper;
import mapper.user.xhMapper;

@Service
@Transactional
public class RecommendgoldServiceImpl<T> extends BaseService<T>{

	@Autowired
	private recommendgoldMapper<T> _recommendgoldMapper;

	@Override
	public BaseMapper<T> getMapper() {
		return _recommendgoldMapper;
	}

	/**
	 * 获取推荐金列表
	 * @param openid
	 * @return
	 */
	public List<T> getByincommeId(String incomeid) {
		return _recommendgoldMapper.getByincommeId(incomeid);
	}

}